const presets = [
  ["@babel/preset-env", {
    corejs:3,
    useBuiltIns: 'entry'
  }],
  "@babel/preset-react",
  "@babel/preset-typescript"
]
const plugins = [];
const isProduction = process.env.NODE_ENV === 'production';

if (!isProduction) {
  plugins.push("react-refresh/babel")
}

console.log('plugins----------------------------------------------------------------', plugins)
module.exports = {
  presets,
  plugins
}